import axios from 'axios';
export async function upload(File_Photo) {
  return axios({
    url:'http://175.178.62.164:61803/message/picture',
    method:'post',
    data:File_Photo,
    headers: {
    'Content-Type': 'multipart/form-data'
    },
    withCredentials:true
  })
}

export async function submit(data) {
  return axios({
    url:'http://175.178.62.164:61803/message/mass',
    method:'post',
    data:data,
    withCredentials:true
  })
}
